// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:05

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   n2.java

package com.zelix;

import java.awt.Container;
import java.awt.Frame;
import java.awt.event.ItemEvent;
import java.util.*;
import javax.swing.*;

// Referenced classes of package com.zelix:
//            h2, vc, h3, c3, 
//            d3, wc, e3, bp, 
//            f3, g3, aq, jt, 
//            to, zw, jy, zz, 
//            tb, nh, yw, j0

public abstract class n2 extends h2
{

    DefaultComboBoxModel K;
    JComboBox L;
    aq M;
    boolean N;
    static String O[];
    static String P[];
    private static String J[];

    n2(String s1, Frame frame, wc wc1, aq aq1, Vector vector, nh nh, yw yw, 
            int i)
    {
        super(s1, frame, vector, wc1, nh, yw, i);
        M = aq1;
        e(s1);
        zz.b(super.u);
    }

    void a(yw yw)
    {
        new h3(this, J[0], yw);
    }

    private void v()
    {
        if(N)
            return;
        switch(L.getSelectedIndex())
        {
        case -1: 
        case 0: // '\0'
            break;

        case 1: // '\001'
            if(super.D.containsKey(J[1]))
                break;
            L.setSelectedIndex(0);
            if(!tb.b)
                break;
            // fall through

        default:
            if(!super.D.containsKey((String)L.getSelectedItem() + "."))
                L.setSelectedIndex(0);
            break;
        }
    }

    void a(j0 j0, Container container)
    {
        ArrayList arraylist;
        int i;
        boolean flag;
        flag = tb.b;
        JLabel jlabel = new JLabel(J[5]);
        container.add(jlabel, J[3]);
        K = new DefaultComboBoxModel();
        L = new JComboBox(K);
        container.add(L, J[6]);
        L.addItem(J[2]);
        L.addItem(J[4]);
        if(M == null)
            break MISSING_BLOCK_LABEL_304;
        arraylist = M.c();
        Collections.sort(arraylist, zw.a());
        i = 0;
        if(!flag) goto _L2; else goto _L1
_L1:
        String s1 = ((String)arraylist.get(i)).replace('/', '.');
        L.addItem(s1);
        i++;
_L2:
        if(i < arraylist.size()) goto _L1; else goto _L3
_L3:
        if(((wc)super.f).i() && super.f.g())
        {
            String s2 = ((wc)super.f).h();
            if(s2.equals(J[1]))
            {
                L.setSelectedIndex(1);
                if(!flag)
                    break MISSING_BLOCK_LABEL_312;
            }
            String s3 = s2.substring(0, s2.length() - 1);
            int j = K.getIndexOf(s3);
            if(j > -1)
            {
                L.setSelectedIndex(j);
                if(!flag)
                    break MISSING_BLOCK_LABEL_312;
            }
            b(s2);
            L.setSelectedIndex(0);
            if(!flag)
                break MISSING_BLOCK_LABEL_312;
        }
        L.setSelectedIndex(0);
        if(!flag)
            break MISSING_BLOCK_LABEL_312;
        L.setEnabled(false);
        a(container, J[7], to.b(to.ic));
        L.addItemListener(this);
        L.setToolTipText(to.b(to.hc));
        return;
    }

    void a(Object obj, String s1, yw yw)
    {
label0:
        {
            boolean flag = tb.b;
            String s2 = (String)obj;
            if(s2.equals("1"))
            {
                if(s1 == null)
                    s1 = J[1];
                new g3(this, J[9], d(s1), 1, yw);
                if(!flag)
                    break label0;
            }
            if(s2.equals("2"))
            {
                if(s1 == null)
                    s1 = J[15];
                new c3(this, J[13], d(s1), 1, yw);
                if(!flag)
                    break label0;
            }
            if(s2.equals("3"))
            {
                if(s1 == null)
                    s1 = J[8];
                new e3(this, J[11], d(s1), 1, yw);
                if(!flag)
                    break label0;
            }
            if(s2.equals("4"))
            {
                if(s1 == null)
                    s1 = J[12];
                new f3(this, J[16], d(s1), 1, yw);
                if(!flag)
                    break label0;
            }
            if(s2.equals("5"))
            {
                if(s1 == null)
                    s1 = J[10];
                new d3(this, J[14], d(s1), 1, yw);
            }
        }
    }

    String[] l()
    {
        return P;
    }

    String a(bp bp1)
    {
        if(bp1 != null)
        {
            String s1 = bp1.c();
            return a(s1, bp1.a());
        } else
        {
            return null;
        }
    }

    String a(String s1, boolean flag)
    {
        String s2 = null;
        if(s1 != null)
        {
            int i = s1.lastIndexOf('.');
            if(i != -1)
                s2 = s1.substring(0, i + 1) + "^" + s1.substring(i + 1);
            else
                s2 = s1;
            if(flag)
                s2 = s2 + "^" + " " + h2.d;
        }
        return s2;
    }

    String[] m()
    {
        return O;
    }

    protected final void w()
    {
        to.a(to.H);
    }

    public void itemStateChanged(ItemEvent itemevent)
    {
label0:
        {
            boolean flag = tb.b;
            if(itemevent.getSource() == L)
            {
                if(N)
                    return;
                int i = K.getIndexOf(itemevent.getItem());
                switch(i)
                {
                case -1: 
                case 0: // '\0'
                    break label0;

                case 1: // '\001'
                    if(itemevent.getStateChange() == 1)
                    {
                        b(J[1]);
                        if(!flag)
                            break label0;
                    }
                    N = true;
                    b(J[1]);
                    N = false;
                    if(!flag)
                        break label0;
                    // fall through

                default:
                    String s1 = (String)K.getElementAt(i) + ".";
                    if(itemevent.getStateChange() == 1)
                    {
                        b(s1);
                        if(!flag)
                            break label0;
                    }
                    N = true;
                    b(s1);
                    N = false;
                    if(!flag)
                        break label0;
                    break;
                }
            }
            super.itemStateChanged(itemevent);
        }
    }

    void a(jt jt1, String s1, yw yw)
    {
        boolean flag = tb.b;
        switch(jt1.x())
        {
        default:
            break;

        case 1: // '\001'
            a("1", s1, yw);
            if(!flag)
                break;
            // fall through

        case 2: // '\002'
            if(jt1.B())
            {
                a("5", s1, yw);
                if(!flag)
                    break;
            }
            a("2", s1, yw);
            if(!flag)
                break;
            // fall through

        case 3: // '\003'
            a("3", s1, yw);
            if(!flag)
                break;
            // fall through

        case 4: // '\004'
            a("4", s1, yw);
            break;
        }
    }

    void q()
    {
        super.q();
        v();
    }

    final void s()
    {
label0:
        {
            boolean flag = tb.b;
            super.s();
            switch(L.getSelectedIndex())
            {
            case -1: 
            case 0: // '\0'
                ((wc)super.f).a(false, null);
                if(!flag)
                    break label0;
                // fall through

            case 1: // '\001'
                ((wc)super.f).a(true, J[1]);
                if(!flag)
                    break label0;
                // fall through

            default:
                ((wc)super.f).a(true, (String)L.getSelectedItem() + ".");
                break;
            }
        }
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x77;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x70;
                    break;
                case 1:
                    key =76;
                    break;
                case 2:
                    key =55;
                    break;
                case 3:
                    key =103;
                    break;
                default:
                    key = 119;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[] = new String[17];
        as[0] = z(z("*)[\016\017P\007[\006\004\003\001V\024\003\025>\027\"\017\023 B\003\022P\034V\025\026\035)C\002\005P\030N\027\022"));
        as[1] = z(z("Zb"));
        as[2] = z(z("L\002X\t\022N"));
        as[3] = z(z("\0254T\013\002\024)g\006\024\033-P\0029\021!R\024;\022 "));
        as[4] = z(z("L\r[\013I"));
        as[5] = z(z("54T\013\002\024)\027\027\026\023'V\000\022P=B\006\033\031*^\002\005\003v"));
        as[6] = z(z("\0254T\013\002\024)S7\026\023'V\000\0223#Z\005\0302#O"));
        as[7] = z(z("4#Y@\003P/_\006\031\027)\027\n\026\031\"\027\004\033\021?DG\031\021!R]"));
        as[8] = z(z("Zb\035G]"));
        as[9] = z(z("*)[\016\017P\007[\006\004\003\001V\024\003\025>\0277\026\023'V\000\022P\tO\004\033\005(RG'\021>V\n\022\004)E"));
        as[10] = z(z("Zb\013\013\036\036'\t?"));
        as[11] = z(z("*)[\016\017P\007[\006\004\003\001V\024\003\025>\027!\036\025 SG2\b/[\022\023\025lg\006\005\021!R\023\022\002"));
        as[12] = z(z("Zb\035G]Xf\036"));
        as[13] = z(z("*)[\016\017P\007[\006\004\003\001V\024\003\025>\027$\033\021?DG2\b/[\022\023\025lg\006\005\021!R\023\022\002"));
        as[14] = z(z("*)[\016\017P\007[\006\004\003\001V\024\003\025>\027$\033\021?DG$\005*Q\016\017P\tO\004\033\005(RG'\021>V\n\022\004)E"));
        as[15] = z(z("Zb\035"));
        as[16] = z(z("*)[\016\017P\007[\006\004\003\001V\024\003\025>\027*\022\004$X\003W54T\013\002\024)\0277\026\002-Z\002\003\025>"));
        J = as;
        String as1[] = new String[18];
        as1[0] = z(z("\035-^\t'\021>V\n;\031?CI\003\037<\nR"));
        as1[1] = z(z("\035-^\t'\021>V\n;\031?CI\033\025*CZB"));
        as1[2] = z(z("\035-^\t'\021>V\n;\031?CI\005\031+_\023J\023#Y\023\026\031\"R\025Y\002%P\017\003].C\t \031(C\017ZA|"));
        as1[3] = z(z("\035-^\t'\021>V\n;\031?CI\025\0378C\b\032M/X\t\003\021%Y\002\005^$R\016\020\0308\035RG_}\007W"));
        as1[4] = z(z("\0254G\013\026\036-C\016\030\036\rE\002\026^ R\001\003My"));
        as1[5] = z(z("\0254G\013\026\036-C\016\030\036\rE\002\026^8X\027J\035-^\t'\021>V\n;\031?CI\025\0378C\b\032[y"));
        as1[6] = z(z("\0254G\013\026\036-C\016\030\036\rE\002\026^>^\000\037\004qT\b\031\004-^\t\022\002bE\016\020\0308\032R"));
        as1[7] = z(z("\0254G\013\026\036-C\016\030\036\rE\002\026^.X\023\003\037!\n\004\030\0368V\016\031\025>\031\005\030\0048X\nZE"));
        as1[8] = z(z("\0228Y0\036\0248_Z\032\0214\037\n\026\031\"v\003\02328YI\023\025*V\022\033\004\033^\003\003\030`\027\n\026\031\"z\b\023\031*N%\003\036bS\002\021\0219[\023 \031(C\017[P!V\016\0314)[\002\003\025\016C\tY\024)Q\006\002\0348`\016\023\004$\036"));
        as1[9] = z(z("\035-^\t6\024(u\023\031^;^\003\003\030qU\023\031'%S\023\037"));
        as1[10] = z(z("\035-^\t6\024(u\023\031^ R\001\003M!V\016\031 -E\006\032<%D\023Y\002%P\017\003[y"));
        as1[11] = z(z("\035-^\t6\024(u\023\031^/R\t\003\025>nZ\024\037\"C\006\036\036)EI\037\025%P\017\003Z~\007HE@|"));
        as1[12] = z(z("\035-^\t:\037(^\001\01628YI\000\031(C\017J\0228Y0\036\0248_"));
        as1[13] = z(z("\035-^\t:\037(^\001\01628YI\033\025*CZ\032\021%Y&\023\024\016C\tY\034)Q\023"));
        as1[14] = z(z("\035-^\t:\037(^\001\01628YI\024\025\"C\002\005)qT\b\031\004-^\t\022\002b_\002\036\027$CMB@c\005WG"));
        as1[15] = z(z("\035-^\t3\025 R\023\02228YI\000\031(C\017J\0228Y0\036\0248_"));
        as1[16] = z(z("\035-^\t3\025 R\023\02228YI\033\025*CZ\032\021%Y&\023\024\016C\tY\034)Q\023"));
        as1[17] = z(z("\035-^\t3\025 R\023\02228YI\024\025\"C\002\005)qT\b\031\004-^\t\022\002b_\002\036\027$CMO@c\005WG"));
        O = as1;
        String as2[] = new String[18];
        as2[0] = z(z("\021<G\013\036\023-C\016\030\036\030N\027\022<.[I\024\025\"C\002\005)qV\027\007\034%T\006\003\031#Y3\016\000)t\b\032\022#u\b\017^/R\t\003\025>n"));
        as2[1] = z(z("\021<G\013\036\023-C\016\030\036\030N\027\022<.[I\033\025*CZB"));
        as2[2] = z(z("\0038V\025\003#)T\b\031\024\017X\013\002\035\"\n\n\026\bdV\027\007\034%T\006\003\031#Y3\016\000){\005\033^(R\001\026\005 C0\036\0248_KW\0254T\013\002\024)g\006\024\033-P\0029\021!R\024;\022 \031\003\022\026-B\013\003'%S\023\037\\lR\037\024\0349S\002:\021%Y$\033\021?D+\025\034bS\002\021\0219[\023 \031(C\017^[}\007"));
        as2[3] = z(z("\021<G\013\036\023-C\016\030\036\030N\027\0223#Z\005\0302#OI\003\037<\nR"));
        as2[4] = z(z("\021<G\013\036\023-C\016\030\036\030N\027\0223#Z\005\0302#OI\033\025*CZ\004\004-E\023$\025/X\t\0233#[\022\032\036"));
        as2[5] = z(z("\021<G\013\036\023-C\016\030\036\030N\027\0223#Z\005\0302#OI\005\031+_\023J\023#Y\023\026\031\"R\025Y\002%P\017\003]y"));
        as2[6] = z(z("\0254T\013\002\024)g\006\024\033-P\0029\021!R\024;\022 \031\013\022\0268\nR"));
        as2[7] = z(z("\0254T\013\002\024)g\006\024\033-P\0029\021!R\024;\022 \031\004\022\0368R\025.M)O\004\033\005(R\003'\021/\\\006\020\025\017X\n\025\037\016X\037Y\023)Y\023\022\002\025"));
        as2[8] = z(z("\0254T\013\002\024)S7\026\023'V\000\0223#Z\005\0302#OI\033\025*CZ\004\004-E\023$\025/X\t\0233#[\022\032\036"));
        as2[9] = z(z("\0254T\013\002\024)S7\026\023'V\000\0223#Z\005\0302#OI\005\031+_\023J\023#Y\023\026\031\"R\025Y\002%P\017\003]y"));
        as2[10] = z(z("\0254T\013\002\024)S7\026\023'V\000\0223#Z\005\0302#OI\003\037<\n\006\007\000 ^\004\026\004%X\t#\t<R$\030\035.X%\030\bbU\b\003\004#ZLB"));
        as2[11] = z(z("\0254T\013\002\024)z\006\036\036\017[\006\004\003\000U\013Y\034)Q\023JE"));
        as2[12] = z(z("\0254T\013\002\024)z\006\036\036\017[\006\004\003\000U\013Y\023)Y\023\022\002\025\n\n\026\031\"t\013\026\003?t\b\032\022#u\b\017^/R\t\003\025>n"));
        as2[13] = z(z("\035-^\t4\034-D\0244\037!U\b5\0374\031\013\022\0268\n\024\003\021>C4\022\023#Y\0034\037 B\n\031"));
        as2[14] = z(z("\035-^\t4\034-D\0244\037!U\b5\0374\031\023\030\000qR\037\024\0349S\002\023 -T\f\026\027)t\b\032\022#u\b\017^.X\023\003\037!\034R"));
        as2[15] = z(z("\035-^\t4\034-D\0244\037!U\b5\0374\031\025\036\027$CZ\024\037\"C\006\036\036)EI\005\031+_\023ZE"));
        as2[16] = z(z("\023#Y\023\026\031\"R\025Y\024)Q\006\002\0348e\016\020\0308g\006\023My"));
        as2[17] = z(z("\023#Y\023\026\031\"R\025Y\024)Q\006\002\0348u\b\003\004#Z7\026\024q\002"));
        P = as2;
    }
}